/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package edu.capex.javacore.clases;

import java.util.Vector;

/**
 *
 * @author Acer
 */
public class VectorTest {
    public static void main(String[] args) {
        Vector<String> vector = new Vector<String>();
        vector.add("Nuevo String");
        vector.add(1, "Otro elemento");
        vector.add("Mas y mas");
        System.out.println(vector.firstElement());
        System.out.println(vector.lastElement());
        System.out.println(vector.get(1));
    }
}
